package com.naiterui.ehp.bs.patient.rpc;

import com.naiterui.ehp.bp.support.exception.BusinessException;

public interface IWeixinRemoter {

    /**
     * 医生token校验
     * IRemoter.checkDrToken()
     *
     * @param doctorId
     * @param token
     *
     * @return
     *
     * @throws Exception
     * @Author guoyongxiang
     * @Date 2017年7月27日
     * @since 2.9.0
     * @throws BusinessException
     */
    boolean checkDrToken(String doctorId, String token) throws BusinessException;

    /**
     * 小程序token校验
     *
     * @param token
     * @return
     * @throws BusinessException
     */
    Long checkMiniToken(String token) throws BusinessException;

    /**
     * 医生pc端token校验
     *
     * @param token
     * @return
     * @throws BusinessException
     */
    Long checkDoctorPcToken(String token) throws BusinessException;
}
